package com.jinmdz.fmis.dao.admin.model.organization;

import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import com.jinmdz.fmis.dao.base.BaseItem;

/**
 * 组织结构编辑Item
 *
 * @author LiCongLu
 * @date 2020-03-16 10:49
 */
public class OrganizationEditItem extends BaseItem {
    /**
     * 父组织外键
     */
    private Integer parentId;

    /**
     * 父组织编码
     */
    private String parentCode;

    /**
     * 父组织名称
     */
    private String parentName;

    /**
     * 组织编码
     */
    private String organizationCode;

    /**
     * 组织名称
     */
    private String organizationName;

    /**
     * 组织简称
     */
    private String organizationAbbreviation;

    /**
     * 组织描述
     */
    private String organizationDescribe;

    /**
     * 组织分类编码
     */
    private Integer organizationTypeCode;

    /**
     * 组织分类编码
     */
    @AnDict(dict = EDictCode.ORGANIZATION_TYPE, ref = "organizationTypeCode")
    private String organizationType;

    /**
     * 地址
     */
    private String address;

    /**
     * 禁用状态
     */
    private Integer disableState;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remark;

    public Integer getParentId() {
        return parentId;
    }

    public OrganizationEditItem setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getParentCode() {
        return parentCode;
    }

    public OrganizationEditItem setParentCode(String parentCode) {
        this.parentCode = parentCode;
        return this;
    }

    public String getParentName() {
        return parentName;
    }

    public OrganizationEditItem setParentName(String parentName) {
        this.parentName = parentName;
        return this;
    }

    public String getOrganizationCode() {
        return organizationCode;
    }

    public OrganizationEditItem setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
        return this;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public OrganizationEditItem setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
        return this;
    }

    public String getOrganizationAbbreviation() {
        return organizationAbbreviation;
    }

    public OrganizationEditItem setOrganizationAbbreviation(String organizationAbbreviation) {
        this.organizationAbbreviation = organizationAbbreviation;
        return this;
    }

    public String getOrganizationDescribe() {
        return organizationDescribe;
    }

    public OrganizationEditItem setOrganizationDescribe(String organizationDescribe) {
        this.organizationDescribe = organizationDescribe;
        return this;
    }

    public Integer getOrganizationTypeCode() {
        return organizationTypeCode;
    }

    public OrganizationEditItem setOrganizationTypeCode(Integer organizationTypeCode) {
        this.organizationTypeCode = organizationTypeCode;
        return this;
    }

    public String getOrganizationType() {
        return organizationType;
    }

    public OrganizationEditItem setOrganizationType(String organizationType) {
        this.organizationType = organizationType;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public OrganizationEditItem setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public OrganizationEditItem setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public OrganizationEditItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public OrganizationEditItem setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}
